package com.foundersoftware.commons.task.model;

/**
 * This enumeration represents the actions that can be performed to task.
 * @author Hongjun Wu
 *
 */
public enum TaskActionType {
	/**
	 * Created task
	 */
	Create,
	/**
	 * Assigned the task to assignee.
	 */
	Assign,
	
	/**
	 * accepted the task
	 */
	Claim,
	
	/**
	 * Rejected task
	 */
    Reject,
    
    /**
     * Reassign the task to others
     */
    Reassign,
    
    /**
     * Splited a task to more tasks;
     */
    Split,
    
    /**
     * Joined more than two task to a task
     */
    Join,
    
    /**
     * Abort a task
     */
    Abort,
    
    /**
     * Terminate a task
     */
    Terminate,
    
    /**
     * Complete a task
     */
    Complete,
    
    /**
     * Stop a task
     */
    Stop,
    
    /**
     * Open a task
     */
    Open,
    
    /**
     * Suspended task
     */
	Suspend,
	
	/**
	 * Resume task
	 */
	Resume
}
